﻿using System.Web.Mvc;

namespace MMO50K.Areas.UserCP
{
    public class UserCPAreaRegistration : AreaRegistration
    {
        public override string AreaName
        {
            get
            {
                return "UserCP";
            }
        }

        public override void RegisterArea(AreaRegistrationContext context)
        {
            context.MapRoute(
                "UserCP_default",
                "UserCP/{controller}/{action}/{id}",
                new { action = "Index", id = UrlParameter.Optional },
                 new[] { "MMO50K.Areas.UserCP.Controllers" }
            );
        }
    }
}
